package com.hifar.test.report.pojo.VO;

import com.hifar.plat.AopOption.TranslationList;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author zhuWeiWei
 * @description 报告生成VO
 * @date 2024/12/26 15:49
 */
@Data
@EqualsAndHashCode
@ApiModel("报告生成对象")
public class ReportCreateVO {

    @NotEmpty(message = "请选择试验单!")
    @TranslationList(isTranslation = true)
    private List<String> testIdList;

    @NotBlank(message = "请选择委托单!")
    private String entrustId;

    @NotBlank(message = "请选择报告模板!")
    private String templateId;
}
